using System;
using Caliburn.Micro;

namespace MediaOwl.Core.Modularity
{
    public class Module : PropertyChangedBase
    {
        private string name;
        public string Name
        {
            get { return name; }
            set
            {
                name = value;
                NotifyOfPropertyChange(() => Name);
            }
        }

        private Uri uri;
        public Uri Uri
        {
            get { return uri; }
            set
            {
                uri = value;
                NotifyOfPropertyChange(() => Uri);
            }
        }

        private bool loaded;
        public bool Loaded
        {
            get { return loaded; }
            set { loaded = value; NotifyOfPropertyChange(() => Loaded);}
        }

        private bool selected;
        public bool Selected
        {
            get { return selected; }
            set { selected = value; NotifyOfPropertyChange(() =>Selected); }
        }
    }
}